
project ("test")
 
# set(ZeroMQ_DIR "D:\\usr\\vcpkg-master_0107\\vcpkg-master\\packages\\zeromq_x86-windows\\share\\zeromq")
# set(ZeroMQ_DIR "D:\\usr\\vcpkg\\vcpkg\\packages\\zeromq_x86-windows\\share\\zeromq")

message("CMAKE_TOOLCHAIN_FILE----------------")
message("${CMAKE_TOOLCHAIN_FILE}")


SET(EXECUTABLE_OUTPUT_PATH ${HOMEROOT}/build/bin/) 


message("CMAKE_BINARY_DIR---------")
message("${CMAKE_BINARY_DIR}")
message("${EXECUTABLE_OUTPUT_PATH}")

include_directories(../sqliteEF)
find_package(unofficial-sqlite3 CONFIG REQUIRED)

# 将源代码添加到此项目的可执行文件。
FILE (GLOB ALL_SOURCES "./*.cpp")
FILE (GLOB ALL_INCLUDES "./*.hpp")

SET (ALL_SRCS 
	 ${ALL_SOURCES}
	 ${ALL_INCLUDES}
)

add_executable(${PROJECT_NAME} ${ALL_SRCS})

target_link_libraries(${PROJECT_NAME} PRIVATE sqliteEF)
target_link_libraries(${PROJECT_NAME} PRIVATE unofficial::sqlite3::sqlite3)